package cn.stronglink.asset.model;

import java.io.Serializable;
import java.util.Date;

public class SensorSetting implements Serializable {//传感器数据表
	private static final long serialVersionUID = 1L;
	/**
	 * asset_id sensor_position  sensor_status sensor_type sensor_value 
create_time  create_by update_time update_by
	 */
	private long id;
	private int sensorCount;//是否存在此 记录
	private long assetId ;
	private int  sensorPosition ;
	private int sensorstatus ;
	
	private int  sensorType ;
	private int  sensorDatas ;
	private Date  createTime  ;
	private  Date updateTime ;
	private String   createBy ;
	private String  updateBy ;
	
	public SensorSetting() {}
	public SensorSetting(long assetId,int  sensorPosition ) {
		this.assetId=assetId;
		this.sensorPosition=sensorPosition;
	}
	
	public int getSensorCount() {
		return sensorCount;
	}
	public void setSensorCount(int sensorCount) {
		this.sensorCount = sensorCount;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
	public long getAssetId() {
		return assetId;
	}
	public void setAssetId(long assetId) {
		this.assetId = assetId;
	}
	public int getSensorPosition() {
		return sensorPosition;
	}
	public void setSensorPosition(int sensorPosition) {
		this.sensorPosition = sensorPosition;
	}
	public int getSensorstatus() {
		return sensorstatus;
	}
	public void setSensorstatus(int sensorstatus) {
		this.sensorstatus = sensorstatus;
	}
	public int getSensorType() {
		return sensorType;
	}
	public void setSensorType(int sensorType) {
		this.sensorType = sensorType;
	}
	public int getSensorDatas() {
		return sensorDatas;
	}
	public void setSensorDatas(int sensorDatas) {
		this.sensorDatas = sensorDatas;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	
}
